<admintpl file="header" />
<body class="J_scroll_fixed" style="min-width:800px;">
<div class="wrap J_check_wrap">
    <ul class="nav nav-tabs">
        <li ><a href="{:U('Financialadmin/index')}" >订单列表</a></li>
        <li ><a href="{:U('Financialadmin/show')}">订单详情</a></li>
        <li class="active"><a href="{:U('Financialadmin/statistics')}">统计信息</a></li>
    </ul>
        <!--
        <div class="mb10">
              <a href="{:U('page/add')}" target="_blank" class="btn" title="添加页面"><span class="add"></span>添加页面</a>
        </div>
        -->
        <form  class="well form-search" method="post" action="{:U('Financialadmin/search')}">
            <div class="search_type cc mb10">
                <div class="mb10">
					<span class="mr20">时间：
						<input type="text" class="input length_2 J_date" id="start_time" name="start_time" value="{$formget.start_time}" style="width:80px;" autocomplete="off">-
                        <input autocomplete="off" type="text" class="input length_2 J_date" id="end_time" name="end_time" value="{$formget.end_time}" style="width:80px;">
                        <input type="hidden" value="1" id="type" name="type">
						<input id="search" name="search" type="submit" class="btn" value="搜索">
                        <notempty name="total"><b class="qiangdiao">总成交：￥<b class="qiangqiangdiao">{$total}</b>RMB</b></notempty>
                        <notempty name="num_total"><b class="qiangdiao">总订单数：<b class="qiangqiangdiao">{$num_total}</b>个</b></notempty>
					</span>
                </div>
            </div>
        </form>
        <div class="h_a">订单统计表</div>
        <form class="J_ajaxForm" action="" method="post">
            <div class="table_list">
                <table width="100%" class="table table-hover">
                    <thead>
                    <tr>
                        <th width="16"><label><input type="checkbox" class="J_check_all" data-direction="x" data-checklist="J_check_x"></label></th>
                        <th style="background-color: #FFFFFF" width="100">日期</th>
                        <th width="80">当日订单数</th>
                        <th width="">订单分类数</th>
                        <th width="150">当天成交</th>
                        <th width="150">当天总订单数</th>
                        <th width="120">操作</th>
                    </tr>
                    </thead>
                    <notempty name="data">
                        <foreach name="data" key="key" item="vo">
                        <tr>
                            <td><input type="checkbox" class="J_check" data-yid="J_check_y" data-xid="J_check_x" name="ids[]" value="{$order.orderId}"></td>
                            <td>{$key}</td>
                            <td>{$vo.day_order_num}</td>
                            <td>{$vo.type_day}</td>
                            <td class="qiangdiao">{$vo.day_total}</td>
                            <td>{$vo.day_order_num}</td>
                            <td>
                                <a target="_self" href="{:U('Financialadmin/edit',array('id'=>$vo[id]))}" target="_self" >修改</a>
                            </td>
                        </tr>
                        </foreach>
                        <else/>
                        <tr><td colspan="9" style="text-align: center">没有相关信息！！！</td></tr>
                    </notempty>
                </table>
            </div>
        </form>
    </div>
<script src="__ROOT__/statics/js/common.js"></script>
</body>
</html>

